package com.ruoyi.system.designpattern.observer;

/**
 *
 * @author created by Zhou Zongbo on 2025/8/28.
 */
public interface Observer {

    void priceUpdate(Product product);


    default void update(Product product) {
        priceUpdate(product);
    }
}
